package com.zhenmaitang.clinic_sys.vo;

import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 认证业务实体类
 * 只包含具体的业务属性，不包含成功失败状态
 */
@Schema(description = "认证响应实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserVO extends BaseVo {

    @Schema(description = "用户名")
    private String username;
    
    @Schema(description = "用户昵称")
    private String fullname;
    
    @Schema(description = "用户角色")
    private List<String> role;
    
    @Schema(description = "访问令牌")
    private String accessToken;
    
    @Schema(description = "刷新令牌")
    private String refreshToken;
    
    @Schema(description = "令牌过期时间（秒）")
    private Integer expiresIn;
    

}